#pragma once

#include <QWidget>
#include "networkmanager.h"

QT_BEGIN_NAMESPACE
namespace Ui { class UserDeleteWindow; }
QT_END_NAMESPACE

class UserDeleteWindow : public QWidget
{
    Q_OBJECT

public:
    UserDeleteWindow(QWidget *parent = nullptr);
    ~UserDeleteWindow();

private slots:
    void on_deleteButton_clicked();
    void handleDeleteUserResponse(const QJsonObject &response);

    void on_resetbutton_clicked();

private:
    Ui::UserDeleteWindow *userdeletewindowUi;
    NetworkManager *networkManager;
};
